package com.zatech.cgnci.project.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 案件关联保单表
 * </p>
 *
 * @author Generator
 * @since 2024-12-25
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("cgnci_claim_policy_task")
@ApiModel(value = "CgnciClaimPolicyTaskDO对象", description = "案件关联保单表")
public class CgnciClaimPolicyTaskDO implements Serializable {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty("主键ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    @ApiModelProperty("任务号")
    private String taskNo;
    @ApiModelProperty("立案号")
    private String caseNo;
    @ApiModelProperty("保单号")
    private String policyNo;
    @ApiModelProperty("当前保单ID")
    private Long currentPolicyId;
    @ApiModelProperty("项目名称")
    private String projectName;
    @ApiModelProperty("项目编号")
    private String projectNo;
    @ApiModelProperty("险种")
    private String riskSubType;
    @ApiModelProperty("险种代码")
    private String riskSubTypeCode;
    @ApiModelProperty("起保日期")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date policyStartDate;
    @ApiModelProperty("终保日期")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date policyEndDate;
    @ApiModelProperty("再保分出人")
    private String cedingCompany;
    @ApiModelProperty("总承接比例")
    private BigDecimal shareRatio;
    @ApiModelProperty("再保接受人")
    private String acceptCompany;
    @ApiModelProperty("总分出比例")
    private BigDecimal cededRatio;
    @ApiModelProperty("净自留份额")
    private BigDecimal netSelfShare;
    @ApiModelProperty("保单保费实收情况")
    private String premiumReceived;
    @ApiModelProperty("适用免赔额")
    private String deductibleDesc;
    @ApiModelProperty("承保年度")
    private String policyYear;
    @ApiModelProperty("保单币种")
    private String policyCurrency;
    @ApiModelProperty("是否转分")
    private String reinsureFlag;
    @ApiModelProperty("是否删除")
    private String deleted;
    @ApiModelProperty("创建人")
    private String creator;
    @ApiModelProperty("创建时间")
    private Date createTime;
    @ApiModelProperty("更新人")
    private String updater;
    @ApiModelProperty("更新时间")
    private Date updateTime;

}
